
/* 基础样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* 灰度效果 */
        .grayscale {
            filter: grayscale(100%);
            opacity: 0.6;
        }
        
        /* 确保整个视窗被限制为最大500px */
        html {
            overflow-x: hidden;
            width: 100%;
        }
        
        /* 全局背景设置 */
        .global-background {
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
            background-color: #1a0b3e;
            background-image: url('../images/bg.png'); 
            background-repeat:no-repeat;
            background-size:100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }
        
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            color: #ffffff;
            line-height: 1.6;
            overflow-x: hidden;
            max-width: 500px;
            width: 100%;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            padding-bottom: 50px;
        }
        
        /* 确保视窗在任何情况下都不会超过500px */
        @media screen and (min-width: 501px) {
            body {
                width: 500px;
                margin: 0 auto;
            }
            
            .global-background {
                width: 500px;
                margin: 0 auto;
            }
        }
        
        /* 通用容器样式 */
        .section {
            margin-bottom: 0px;
            position: relative;
            overflow: hidden;
        }
        
        /* 游戏介绍部分 */
        .game-intro {
            text-align: center;
            padding: 20px;
        }
        
        .huabian-image {
            width: 100%;
            max-width: 600px;
            margin: 0 auto -40px;
            display: block;
            z-index: 2;
            position: relative;
        }
        
        .decoration-image {
            width: 100%;
            margin: 0 auto -80px;
            display: block;
            z-index: 1;
            position: relative;
        }
        
        .game-intro {
            position: relative;
            z-index: 2;
            margin-top: 0;
        }
        
        .game-logo {
            width: 60%;
            margin: 0 auto -6px;
            display: block;
            z-index: 2;
            position: relative;
        }
        
        .game-title {
            font-size: 2.5rem;
            color: #ffffff;
            text-shadow: 0 0 20px rgba(146, 110, 255, 0.8);
            margin-bottom: 10px;
            letter-spacing: 3px;
        }
        
        .game-subtitle {
            font-size: 1rem;
            color: #b8a6ff;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .game-description {
            font-size: 0.8rem;
            font-weight:bold;
            color: #101360;
            margin-bottom: 0px;
            line-height: 1;
            background-image: url('../images/ys_db.png');
            background-size: cover;
            background-position: center;
            padding-top: 5px;
            padding-bottom: 15px;
            background-size: 100% 100%;
        }
        
        .download-btn {
            background: linear-gradient(135deg, #7028e4, #e5b2ca);
            border: none;
            color: #ffffff;
            font-size: 1.2rem;
            font-weight: bold;
            padding: 15px 40px;
            border-radius: 30px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(112, 40, 228, 0.5);
            margin-bottom: 10px;
        }
        
        .download-img {
            display: block;
            margin: 0 auto 10px;
            cursor: pointer;
            width: 60%;
            max-width: 300px;
        }
        
        .download-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: all 0.6s ease;
        }
        
        .download-btn:hover::before {
            left: 100%;
        }
        
        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(112, 40, 228, 0.7);
        }
        
        /* 公测福利部分 */
        .beta-benefits {
            
           
            padding: 15px 5%;
            margin: 10px;
          
            position: relative;
        }
        
        .beta-benefits::before {
            background-size: 100% 100%;
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('../1/公測福利db.png');
            
            background-repeat: no-repeat;
            background-position: center;
            opacity: 1;
            pointer-events: none;
        }
        
        .benefits-header {
            text-align: center;
            margin-bottom: 20px;
            position: relative;
        }
        
        .benefits-title {
            font-size: 1.8rem;
            color: #ffffff;
            text-shadow: 0 0 10px rgba(146, 110, 255, 0.8);
            margin-bottom: 5px;
        }
        
        .benefits-title-img {
            display: block;
            margin: 0 auto 5px;
            max-height: 80px;
            
            margin-top: -20px;
        }
        
        .benefits-subtitle {
            font-size: 0.6rem;
            color: #2b0ca6;
            opacity: 0.8;
        }
        
        .benefits-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }
        
        .character-image {
            width: 150px;
            height: 150px;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
        
        .rewards-container {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-bottom: 0px;
            position: relative;
            
        }
        
        .reward-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex: 1;
            background-image: url(../images/集结组队.png);
    z-index: 1;
    background-size: 100% 100%;
        }
         .reward-item0 {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex: 1; /* 使用flex布局均匀分配空间 */
            margin: 0 5px; /* 适当的间距 */
            background-image: url(../images/iconhuang拷贝4.png);
            z-index: 1;
            background-size: 100% 100%;
        }
        .reward-item1 {
            /* 移除破坏均匀分布的margin */
        }
        .reward-item2 {
            /* 移除破坏均匀分布的margin */
        }

        .reward-icon00000000 {
            width: 45px;
            height: 45px;
            margin: 0 auto 5px;
            background-image: url('../images/icon huang 拷贝 4.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
        }
        
        .reward-icon img {
            width: 60%;
            margin-top: 10px;
            object-fit: contain;
            position: relative;
            z-index: 2;
        }
        .reward-count1{position: absolute;
            bottom: 2px;
            right: 3px;
            font-size: 0.38rem;
            color: #ffffff;
            font-weight: bold;
            z-index: 3;
         }
        .reward-count {
            position: absolute;
            bottom: 31%;
            right: 9%;
            font-size: 0.38rem;
            color: #ffffff;
            font-weight: bold;
            
            padding: 2px 8px;
           
            min-width: 30px;
            text-align: center;
            z-index: 3;
            background-image: url(../images/数量.png);
    z-index: 1;
    background-size: 100% 100%;
        }
         .reward-item1 .reward-count{ 
            bottom: 6%;
            right: 9%;}
         .reward-item2 .reward-count{ 
            bottom: 5%;
            right: 9%;}
        .progress-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 25px auto;
}

.progress-container svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80px; /* 限制最大高度，防止拉伸 */
}

.progress-container .progress-fill {
    fill: url(#gradient);
    transition: width 2s ease-out;
}
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .progress-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.7rem;
            color: #b8a6ff;
        }
        
        /* 庆典抽奖部分 */
        .lottery-section {
            
            
            
            margin: 20px;
            
            position: relative;
        }
        
        .lottery-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            opacity: 0.1;
            pointer-events: none;
        }
        
        .lottery-header {
            text-align: center;
            margin-bottom: 20px;
            position: relative;
        }
        
        .lottery-title {
            font-size: 1.8rem;
            color: #ffffff;
            text-shadow: 0 0 10px rgba(146, 110, 255, 0.8);
            margin-bottom: 10px;
        }
        
        .lottery-title-image {
            max-height: 80px;
            height: auto;
            
            margin: 0 auto 10px;
            display: block;
        }
        
        .tip-container {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            background-image: url(../images/公告底板.png);
            background-size: 100% 100%;
            background-repeat: no-repeat;
            
            box-sizing: border-box;
        }
        
        .tip-icon {
            margin-right: 10px;
            color: #ffd700;
        }
        
        .tip-text {
            font-size: 0.8rem;
            color: #000000;
            flex: 1;
        }
        
        .tip-name {
            color: #ff6b6b;
            font-weight: bold;
            margin-right: 5px;
        }
        
        .tip-prize {
            color: #4ecdc4;
            font-weight: bold;
            margin-left: 5px;
        }
        
        .tip-text span:not(.tip-name):not(.tip-prize) {
            margin: 0 2px;
        }
        
        .winner-list-btn {
            background: linear-gradient(135deg, #7028e400, #e5b2ca00);
            border: none;
            color:#7028e4;
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .winner-list-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 2px 10px rgba(112, 40, 228, 0.5);
        }
        
        /* 奖品网格 */
        .prize-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 25px;
            position: relative;
            padding: 5px;
        }
        
        .prize-image {
            width: 60%;
            height: 60%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .prize-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .prize-name {
            color: #534d2c;
            font-size: 0.6rem;
            font-weight:bold;
            margin: 0;
            padding: 2px 5px;
            
            
            width: 100%;
            box-sizing: border-box;
        }
        
        .prize-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(146, 110, 255, 0.5);
            border-color: #926eff;
        }
        
        .prize-item {
            background-image: url(../1/慶典抽獎db.png);
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            background-size:100%;
            
            text-align: center;
            position: relative;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            overflow: hidden;
            cursor: pointer;
            aspect-ratio: 1/1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-bottom-left-radius: 26px;
            border-top-right-radius: 26px;
        }
        
        .prize-item:hover {
            border-color: #926eff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(146, 110, 255, 0.5);
        }
        
        .prize-item.active {
            border-color: #ffd700;
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(146, 110, 255, 0.2));
            animation: prizePulse 1s infinite;
        }

        .prize-item.active .prize-name {
            color: #ffd700; /* 抽中后文案颜色变为金色 */
        }
        
        @keyframes prizePulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
            }
        }
        
        .prize-image {
            width: 80px;
            height: 80px;
            margin: 0 auto 10px;
            
           
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        .prize-image img {
            width: 80%;
            
            object-fit: contain;
        }
        
        
        
        /* 抽奖按钮 */
        .lottery-action {
            text-align: center;
            margin-bottom: 20px;
            position: relative;
        }
        
        .draw-button {
            max-width: 75%;
            height: auto;
            display: block;
            margin: 0 auto 1px auto;
            cursor: pointer;
            transition: transform 0.3s ease;
            border: none;
            background: none;
            padding: 0;
        }
        
        .draw-button:hover {
            transform: scale(1.05);
        }
        
        .draw-button:active {
            transform: scale(0.95);
        }
        
        .draw-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: all 0.6s ease;
        }
        
        .draw-button:hover::before {
            left: 100%;
        }
        
        .draw-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(112, 40, 228, 0.7);
        }
        
        .draw-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        
        .draw-count {
            font-size: 0.9rem;
            color: #b8a6ff;
        }
        
        /* 底部按钮 */
        .bottom-buttons {
            display: flex;
            justify-content: space-between;
            gap: 15px;
            position: relative;
            margin-bottom: 20px;
        }
        
        .my-prizes-btn, .integral-detail-btn {
            flex: 1;
            max-width: 40%;
            height: auto;
            cursor: pointer;
            transition: transform 0.3s ease;
            border: none;
            background: none;
            padding: 0;
            display: block;
        }
        
        .my-prizes-btn:hover, .integral-detail-btn:hover {
            transform: scale(1.05);
        }
        
        .my-prizes-btn:active, .integral-detail-btn:active {
            transform: scale(0.95);
        }
        
        /* 中奖弹窗 */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal-content {
            background: transparent;
            border: none;
            border-radius: 0;
            padding: 20px;
            text-align: center;
            max-width: 90%;
            width: 300px;
            position: relative;
            box-shadow: none;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .modal.active .modal-content {
            transform: scale(1);
        }
        
        .result-icon {
            width: 100px;
            height: 100px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, #7028e4, #e5b2ca);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: #ffffff;
            animation: bounce 1s ease-in-out;
            position: relative;
            box-shadow: 0 0 30px rgba(112, 40, 228, 0.7);
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-20px);
            }
            60% {
                transform: translateY(-10px);
            }
        }
        
        .result-title {
            font-size: 2rem;
            color: #ffffff;
            margin-bottom: 5px;
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
            background: linear-gradient(135deg, #00ffff, #ffffff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: bold;
        }
        
        .result-subtitle {
            font-size: 1.2rem;
            color: #ffffff;
            margin-bottom: 30px;
            opacity: 0.8;
        }
        
        .result-prize-container {
            width: 180px;
            height: 180px;
            margin: 0 auto 30px;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
            animation: prizeAppear 0.5s ease-in-out;
        }
        
        @keyframes prizeAppear {
            0% {
                transform: scale(0);
                opacity: 0;
            }
            70% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
        
        .result-prize-image {
            width: 120px;
            height: 120px;
            object-fit: contain;
            animation: rotate 2s linear infinite;
        }
        
        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        
        .view-prize-btn {
            background-color: #00ffff;
            border: none;
            color: #000000;
            padding: 15px 0;
            width: 100%;
            max-width: 200px;
            border-radius: 30px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 255, 255, 0.5);
        }
        
        .view-prize-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 255, 255, 0.7);
        }
        
        .view-prize-btn:active {
            transform: translateY(0);
        }
        
        /* 中奖奖品名称 */
        .result-prize-name {
            font-size: 1.2rem;
            color: #ffd700;
            margin-bottom: 10px;
            text-align: center;
            font-weight: bold;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
        }
        
        /* 中奖说明文字 */
        .result-description {
            font-size: 0.9rem;
            color: #ffffff;
            margin-bottom: 20px;
            text-align: center;
            line-height: 1.4;
            opacity: 0.9;
            padding: 0 20px;
        }
        
        .result-prize {
            font-size: 1.2rem;
            color: #ffd700;
            margin-bottom: 20px;
            padding: 10px;
            background-color: rgba(146, 110, 255, 0.2);
            border-radius: 10px;
            font-weight: bold;
        }
        
        .close-modal {
            background: linear-gradient(135deg, #7028e4, #e5b2ca);
            border: none;
            color: #ffffff;
            padding: 10px 30px;
            border-radius: 20px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(112, 40, 228, 0.5);
        }
        
        .close-modal:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(112, 40, 228, 0.7);
        }
        
        /* 动画效果 */
        
        /* 大奖闪烁效果 */
        @keyframes grandPrizeFlash {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 3px #ffd700; }
            50% { opacity: 1; box-shadow: 0 0 30px 20px rgba(255, 215, 0, 0.8), 0 0 0 3px #ffd700; }
        }
        
        /* 普通奖品效果 */
        @keyframes regularPrizeFlash {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 2px #926eff; }
            50% { opacity: 1; box-shadow: 0 0 20px 10px rgba(146, 110, 255, 0.6), 0 0 0 2px #926eff; }
        }
        
        /* 谢谢参与效果 */
        @keyframes thanksFlash {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.5); }
            50% { opacity: 0.7; box-shadow: 0 0 15px 5px rgba(100, 100, 100, 0.3); }
        }
        
        /* 闪光粒子效果 */
        @keyframes sparkleFlash {
            0%, 100% { opacity: 0.3; box-shadow: 0 0 5px 1px currentColor; }
            50% { opacity: 1; box-shadow: 0 0 15px 5px currentColor; }
        }
        
        /* 粒子样式 */
        .particle {
            position: fixed;
            pointer-events: none;
            z-index: 1001;
        }
        
        .sparkle {
            animation: sparkleRotate 2s linear infinite;
        }
        
        @keyframes sparkleRotate {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }
        
        /* 庆祝元素样式 */
        .celebration {
            position: fixed;
            pointer-events: none;
            z-index: 1002;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }
        
        /* 响应式设计 */
        @media (max-width: 480px) {
            .game-title {
                font-size: 2rem;
            }
            
            .prize-grid {
                gap: 10px;
            }
            
            .prize-item {
                padding: 10px 5px;
            }
            
            .prize-image {
                width: 60px;
                height: 60px;
            }
            
            .draw-button,
            .download-btn {
                font-size: 1.1rem;
                //padding: 12px 30px;
            }
            
            .modal-content {
                padding: 20px;
                width: 90%;
            }
        }





    /* 分享功能样式 */
    .share-section {
       margin: 20px;
    position: relative;
    }
    
    .share-header {
        text-align: center;
        margin-bottom: 20px;
        position: relative;
    }
    
    .share-title {
        max-height: 80px;
        height: auto;
        display: block;
        margin: 0 auto 15px;
    }
    
    .share-subtitle {
        font-size: 0.8rem;
        color: #b8a6ff;
        opacity: 0.8;
    }
    
    .share-content {
        position: relative;
    }
    
    .share-item {
        /* 使用图片作为背景 */
        background-image: url('../images/lb_db.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        padding: 15px 20px;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        background-size: 100% 100%;
    }
    
    .share-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        
    }
    
    .share-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(146, 110, 255, 0.3);
    }
    
    .task-description {
        flex: 1;
        font-size: 0.9rem;
        color: #33337a;
        line-height: 1.6;
        margin-right: 15px;
    }
    
    .share-item:hover .task-description {
        color: #33337a;
    }
    
    .share-button {
        /* 图片按钮样式 */
        width: auto;
        height: 30px;
        cursor: pointer;
        transition: transform 0.3s ease;
        outline: none;
    }
    
    .share-button:hover {
        transform: scale(1.05);
    }
    
    .share-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: all 0.6s ease;
    }
    
    .share-button:hover::before {
        left: 100%;
    }
    
    .share-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(112, 40, 228, 0.5);
    }
    
    /* 分享弹窗样式 */
    .share-dialog {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .share-dialog.active {
        opacity: 1;
        visibility: visible;
    }
    
    .share-dialog-content {
        background: linear-gradient(135deg, rgba(112, 40, 228, 0.2), rgba(229, 178, 202, 0.2));
        backdrop-filter: blur(10px);
        border: 2px solid #926eff;
        border-radius: 20px;
        padding: 30px;
        max-width: 90%;
        width: 350px;
        position: relative;
        box-shadow: 0 10px 30px rgba(112, 40, 228, 0.5);
        transform: scale(0.8);
        transition: transform 0.3s ease;
    }
    
    .share-dialog.active .share-dialog-content {
        transform: scale(1);
    }
    
    .share-dialog-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(146, 110, 255, 0.3);
    }
    
    .share-dialog-header h3 {
        font-size: 1.2rem;
        color: #ffffff;
        margin: 0;
    }
    
    .close-share-dialog {
        font-size: 1.5rem;
        color: #ffffff;
        cursor: pointer;
        transition: color 0.3s ease;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    
    .close-share-dialog:hover {
        color: #e5b2ca;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .share-dialog-body {
        text-align: center;
    }
    
    .task-name-in-dialog {
        font-size: 1rem;
        color: #ffffff;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .share-reward {
        font-size: 0.9rem;
        color: #ffd700;
        margin-bottom: 25px;
        padding: 10px;
        background-color: rgba(146, 110, 255, 0.2);
        border-radius: 10px;
        font-weight: bold;
    }
    
    .share-channels {
        display: flex;
        justify-content: space-around;
    }
    
    .share-channel {
        text-align: center;
        cursor: pointer;
        transition: transform 0.3s ease;
        padding: 10px;
    }
    
    .share-channel:hover {
        transform: translateY(-5px);
    }
    
    .channel-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        padding: 8px;
        margin-bottom: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .share-channel span {
        font-size: 0.8rem;
        color: #ffffff;
    }
    
    /* Toast提示样式 */
    .toast-message {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.8);
        color: #ffffff;
        padding: 15px 30px;
        border-radius: 25px;
        font-size: 0.9rem;
        display: none;
        z-index: 2000;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
    }
    
    /* 响应式设计 */
    @media (max-width: 480px) {
        .share-section {
            margin: 15px;
           
        }
        
        .share-title {
            max-width: 70%;
        }
        
        .share-item {
            padding: 12px 15px;
            /* 保持和桌面端一致的布局 */
            flex-direction: row;
            align-items: flex-start;
            /* 确保flex布局稳定 */
            min-height: 60px;
        }
        
        .task-description {
            margin-right: 10px;
            margin-bottom: 0;
            font-size: 0.8rem;
            font-weight:bold;
            color: #202688; /* 确保文字在背景图上清晰可见 */
            
            /* 允许文本自动换行 */
            white-space: normal;
            flex: 1;
            /* 限制最大宽度，确保不影响整体布局 */
            max-width: calc(100% - 80px);
        }
        
        .share-button {
            /* 图片按钮样式 */
            width: auto;
            height: 30px;
            flex-shrink: 0;
            align-self: center;
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        
        .share-button:hover {
            transform: scale(1.05);
        }
        
        .share-dialog-content {
            padding: 20px;
            width: 90%;
        }
        
        .channel-icon {
            width: 40px;
            height: 40px;
        }
    }




        /* 积分兑换部分样式 */
        .redemption-section {
            
           
            
            margin: 20px;
            position: relative;
            overflow: hidden;
        }
        
        .redemption-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 10px;
            
            background-size: contain;
        }
        
        .redemption-header {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .redemption-title {
            /* 图片标题样式 */
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            max-height: 80px;
        }
        
        .redemption-subtitle {
            color: #ffd700;
            font-size: 0.9rem;
            margin: 5px 0 0 0;
            letter-spacing: 1px;
        }
        
        .tip-section {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            padding: 10px;
            margin-bottom: 20px;
        }
        
        .tip-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .tip-content span {
            color: #fff;
            font-size: 0.9rem;
        }
        
        .exchange-list-btn {
            background: #ffd700;
            color: #5a2587;
            border: none;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .exchange-list-btn:active {
            transform: scale(0.95);
        }
        
        .redemption-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .redemption-item {
            background: #f9f9f9;
            background-image: url(../images/cjfdh.png);
            background-size: 100% 100%;
            border-bottom-left-radius: 26px;
            border-top-right-radius: 26px;
            padding: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .redemption-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            
            opacity: 0.2;
        }
        
        .item-icon {
            width: 80px;
            height: 80px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        .item-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            z-index: 1;
        }
        
        .item-info {
            margin-bottom: 23px;
            text-align: center;
        }
        
        .item-name {
            color: #333;
            font-size: 0.6rem;
            font-weight:bold;
            margin: 0;
        }
        
        .redeem-btn {
            width: 100%;
            padding: 8px 0;
            border: none;
            border-radius: 5px;
            font-size: 0.9rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .redeem-btn.available {
            background: #00000000;
            color: #fff;
            background-image: url(../images/btnd.png);
            background-size: 100%;
            
        }
        
        .redeem-btn.unavailable {
            background: #00000000;
            color: #666;
            cursor: not-allowed;
            background-image: url(../images/kcbz.png);
            background-size: 100%;
        }
        
        .redeem-btn.available:active {
            transform: scale(0.95);
        }
        
        .points-info {
            text-align: center;
            color: #282e89;
            font-size: 0.9rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .redemption-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 10px;
            }
            
            .item-icon {
                width: 60px;
                height: 60px;
            }
            
            .redemption-item {
                padding: 10px;
            }
            
            .redeem-btn {
                font-size: 0.8rem;
                padding: 6px 0;
            }
        }

        /* 兑换图片样式 - 直接显示图片，无任何装饰 */
        .redeem-container {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .redeem-image {
            width: 100%;
            height: auto;
            border: none;
            background: none;
            padding: 0;
            margin: 0;
            box-shadow: none;
            border-radius: 0;
        }

        /* 组队拉新部分样式 */
        .team-up-section {
            
            margin: 20px;
            position: relative;
            overflow: hidden;
        }
        
        .team-up-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 10px;
           
            background-size: contain;
        }
        
        .team-up-header {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .team-up-title {
            color: #fff;
            font-size: 1.8rem;
            margin: 0;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .team-up-subtitle {
            color: #ffd700;
            font-size: 0.9rem;
            margin: 5px 0 10px 0;
            letter-spacing: 1px;
        }
        
        .team-up-description {
            color:#282e89;
            font-size: 0.8rem;
            line-height: 1.5;
            margin: 0 auto;
           
            font-weight:bold;
        }
        
        .treasure-box {
            margin-bottom: 20px;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            
        }
        
        .captain-box {
            background: linear-gradient(135deg, rgba(100, 100, 100, 0.8), rgba(80, 80, 80, 0.9));
            padding: 0;
            overflow: visible;
        }
        
        .captain-box .reward-item .reward-image {
            filter: grayscale(100%);
            opacity: 0.7;
        }
        
        .captain-box .reward-name,
        .captain-box .reward-quantity {
            color: #bbb;
        }
        
        .member-box {
            background: linear-gradient(135deg, rgba(68, 144, 226, 0.8), rgba(37, 99, 235, 0.9));
            padding: 0;
            overflow: visible;
        }
        
        .box-header {
            display: flex;
            align-items: center;
            padding: 0px 0px;
            position: relative;
            
            height:35px ;
        }
        .box-header .boxicon{
            display: flex;
            align-items: center;
            position: relative;
            width: auto;
        }
        
        .box-icon {
            width: 68px;
            
            margin-right: 15px;
            
        }
        
        .box-title {
            color: #fff;
            font-size: 1.2rem;
            margin: 0;
            flex: 1;
        }
        
        .locked-badge {
            position: absolute;
            top: 1%;
            right: 10px;
            width: 18%;
            
            object-fit: contain;
        }
        
        .box-rewards {
            display: flex;
            justify-content: space-around;
            padding: 15px;
            background: rgba(255, 255, 255, 0.1);
            gap: 10px;
        }
        
        .reward-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex: 1;
            
            position: relative;
        }
        
        .reward-item.locked {
            opacity: 1;
            filter: grayscale(1);
            background-image: url('../images/集结组队.png');
            z-index: 1;background-size: 100% 100%;；
        }
        
        .reward-item.locked .reward-image,
        .reward-item.locked .reward-count,
        .reward-item.locked .reward-name {
           
            z-index: 2;
        }
        
        .reward-quantity {
            font-size: 0.7rem;
            color: #ccc;
            position: absolute;
            top: 15px;
            right: 10px;
            background: rgba(0, 0, 0, 0.7);
            padding: 2px 5px;
            border-radius: 8px;
        }
        
        .reward-image {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin: 15px 0px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            display: inline-block;
        }
        
       
        
        .reward-name {
            font-size: 0.6rem;
            color: #333;
            font-weight: 800;
            
            
            
            display: inline-block;
            margin-bottom: 3px;
            margin: 0;
        }
        
        .create-team-btn,
        .join-team-btn {
            width: 100%;
            padding: 0;
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .create-team-btn:hover,
        .join-team-btn:hover {
            transform: scale(1.02);
        }
        
        .captain-box .create-team-btn {
            background: transparent;
            padding: 0;
        }
        
        .btn-image {
            width: 200px;
            height: auto;
        }
        
        .share-buttons {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
            padding: 10px 0;
        }
        
        .share-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .share-btn:hover {
            transform: scale(1.1);
            background: rgba(255, 255, 255, 0.3);
        }
        
        .share-icon {
            width: 25px;
            height: 25px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .team-up-title {
                font-size: 1.6rem;
            }
            
            .box-icon {
               
            }
            
            .box-title {
                font-size: 1.1rem;
            }
            
            .reward-image {
                width: 50px;
                height: 50px;
            }
            
            .btn-image {
                width: 180px;
            }
            
            .share-buttons {
                gap: 20px;
            }
        }
        /* 规则说明部分 */
        .rules-section {
           
            margin: 20px;
            
            position: relative;
        }
        
        .rules-header {
            text-align: center;
            margin-bottom: 20px;
            position: relative;
        }
        
        .rules-title {
            font-size: 1.8rem;
            color: #ffffff;
            text-shadow: 0 0 10px rgba(146, 110, 255, 0.8);
            margin-bottom: 5px;
        }
        
        .rules-subtitle {
            font-size: 0.8rem;
            color: #b8a6ff;
            opacity: 0.8;
            letter-spacing: 2px;
        }
        
        .rules-content {
            font-size: 0.9rem;
            color: #282e89;
            line-height: 1.8;
            position: relative;
        }
        
        .rules-content p {
            margin-bottom: 10px;
        }
        
        .rules-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            border: 1px solid rgba(146, 110, 255, 0.3);
            border-radius: 10px;
            overflow: hidden;
        }
        .rules-table thead{
            background-image: url(../images/biaotou.png);
            z-index: 1;
            background-size: 100% 100%;
        }
        .rules-table th {
            
            color: #ffffff;
            padding: 12px 8px;
            font-size: 0.85rem;
            text-align: center;
        }
        
        .rules-table td {
            padding: 10px 8px;
            font-size: 0.8rem;
            text-align: center;
            border-top: 1px solid rgba(146, 110, 255, 0.2);
        }
        
        .rules-table tr:nth-child(even) {
            background-color: rgba(146, 110, 255, 0.1);
        }
        
        .rules-footer {
            height: 40px;
            background-image: url('../images/huabian.png');
            background-size: contain;
            background-repeat: repeat-x;
            background-position: bottom;
            margin-top: 20px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .rules-title {
                font-size: 1.6rem;
            }
            
            .rules-content {
                font-size: 0.8rem;
            }
            
            .rules-table th,
            .rules-table td {
                font-size: 0.75rem;
                padding: 8px 5px;
            }
        }
        
        /* 组队拉新宝箱奖励列表样式 */
        .treasure-rewards-list {
            margin-top: 20px;
        }
        
        .treasure-reward-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            background: rgba(255, 255, 255, 0.1);
            padding: 10px;
            border-radius: 10px;
        }
        
        .treasure-reward-item img {
            width: 40px;
            height: 40px;
            margin-right: 15px;
            border-radius: 5px;
        }
        
        .treasure-reward-item span {
            color: #ffffff;
            font-size: 0.9rem;
        }
